package com.kaikeba.bean;

import java.util.Date;

/**
 * @description:用户bean
 * @author: ManolinCoder
 * @time: 2021/9/4
 */
public class User {
    private Integer id;
    private String uname;
    private String uPhoneNumber;
    private String uIdCardNum;
    private String uPassword;
    private Date uInTime;
    private Date uLastLoginTime;
    private Integer uStatus;
    private boolean user;

    public User(String uname, String uPhoneNumber, String uIdCardNum, String uPassword) {
        this.uname = uname;
        this.uPhoneNumber = uPhoneNumber;
        this.uIdCardNum = uIdCardNum;
        this.uPassword = uPassword;
    }

    public User(Integer id, String uname, String uPhoneNumber, String uIdCardNum, String uPassword, Date uInTime, Date uLastLoginTime, Integer uStatus) {
        this.id = id;
        this.uname = uname;
        this.uPhoneNumber = uPhoneNumber;
        this.uIdCardNum = uIdCardNum;
        this.uPassword = uPassword;
        this.uInTime = uInTime;
        this.uLastLoginTime = uLastLoginTime;
        this.uStatus = uStatus;
    }

    public User() {
    }

    public Integer getId() {
        return id;
    }

    public boolean isUser() {
        return user;
    }

    public void setUser(boolean user) {
        this.user = user;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    public String getuPhoneNumber() {
        return uPhoneNumber;
    }

    public void setuPhoneNumber(String uPhoneNumber) {
        this.uPhoneNumber = uPhoneNumber;
    }

    public String getuIdCardNum() {
        return uIdCardNum;
    }

    public void setuIdCardNum(String uIdCardNum) {
        this.uIdCardNum = uIdCardNum;
    }

    public String getuPassword() {
        return uPassword;
    }

    public void setuPassword(String uPassword) {
        this.uPassword = uPassword;
    }

    public Date getuInTime() {
        return uInTime;
    }

    public void setuInTime(Date uInTime) {
        this.uInTime = uInTime;
    }

    public Date getuLastLoginTime() {
        return uLastLoginTime;
    }

    public void setuLastLoginTime(Date uLastLoginTime) {
        this.uLastLoginTime = uLastLoginTime;
    }

    public Integer getuStatus() {
        return uStatus;
    }

    public void setuStatus(Integer uStatus) {
        this.uStatus = uStatus;
    }
}
